projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0559a3
)
(Fcall_interactively): When checking to see if doprnt hit
author
Miles Bader
<miles@gnu.org>
Tue, 25 Jun 2002 12:58:54 +0000
(12:58 +0000)
committer
Miles Bader
<miles@gnu.org>
Tue, 25 Jun 2002 12:58:54 +0000
(12:58 +0000)
the end of callint_message, allow for a terminating '\0'.
src/callint.c
patch
|
blob
|
history
diff --git
a/src/callint.c
b/src/callint.c
index d172c118a929996a357695178764c5dfa54ca6ca..3eca790c6df51fa2b95c55637c72de8c682421ba 100644
(file)
--- a/
src/callint.c
+++ b/
src/callint.c
@@
-464,7
+464,7
@@
supply if the command inquires which events were used to invoke it. */)
int nchars = doprnt (callint_message, callint_message_size,
prompt1, (char *)0,
j - 1, (char **) argstrings + 1);
- if (nchars < callint_message_size)
+ if (nchars < callint_message_size
- 1
)
break;
callint_message_size *= 2;
callint_message